package com.ruoyi.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆管理对象 vehicle_car
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class VehicleCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆主键 */
    private Long id;

    /** 司机外键 */
    @Excel(name = "司机外键")
    private Long driverId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 车辆品牌 */
    @Excel(name = "车辆品牌")
    private String carBrand;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String carColor;

    /** 驾驶证照片 */
    @Excel(name = "驾驶证照片")
    private String driverLicense;

    /** 行驶证照片 */
    @Excel(name = "行驶证照片")
    private String carRun;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String carPhoto;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setCarBrand(String carBrand) 
    {
        this.carBrand = carBrand;
    }

    public String getCarBrand() 
    {
        return carBrand;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setDriverLicense(String driverLicense) 
    {
        this.driverLicense = driverLicense;
    }

    public String getDriverLicense() 
    {
        return driverLicense;
    }
    public void setCarRun(String carRun) 
    {
        this.carRun = carRun;
    }

    public String getCarRun() 
    {
        return carRun;
    }
    public void setCarPhoto(String carPhoto) 
    {
        this.carPhoto = carPhoto;
    }

    public String getCarPhoto() 
    {
        return carPhoto;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverId", getDriverId())
            .append("carNum", getCarNum())
            .append("carBrand", getCarBrand())
            .append("carType", getCarType())
            .append("carColor", getCarColor())
            .append("driverLicense", getDriverLicense())
            .append("carRun", getCarRun())
            .append("carPhoto", getCarPhoto())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
